#include "glwidget.h"
#include <QApplication>
#include <qmessagebox.h>

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);

    bool fs = false;
    switch (QMessageBox::information(0,
                                     "Start FullScreen?",
                                     "Would you lik to Run In Fullscreen Mode?",
                                     QMessageBox::Yes,
                                     QMessageBox::No | QMessageBox::Default)) {
    case QMessageBox::Yes:
        fs = true;
        break;
    case QMessageBox::No:
        fs = false;
        break;
    default:
        break;
    }

    GLWidget w(0, fs);
    w.show();

    return a.exec();
}
